<?php

/**
 * Template for making the top div in the
 * questions list view
 *
 * In order to set the currently viewed types of questions
 * as 'current', just pass 'current' as a value
 * for the corresponding questions view type
 * for example 'Unanswere' => '1'
 *
 */
class tplQtypesdiv extends \StudyBuddy\Template\Template
{
	protected static $vars = array(
	'newest_c' => '', //1
	'voted_c' => '', //2
	'active_c' => '', //3
	'newest' => 'Newest', //4
	'newest_t' => 'Most recent questions', //5
	'voted' => 'Most Voted', //6
	'voted_t' => 'Questions with most votes', //7
	'active' => 'Most Active', //8
	'active_t' => 'Questions with most activity', //9
	'difficult' => 'Hight difficult', //10
	'difficult_t' => 'Hight difficult question in in past 7 days', //11
	'difficult_c' => '', //12
	'path' => '' //13
	);

	protected static $tpl = '
	<div id="qtypes">
	<a href="/questions/%13$s" rel="nofollow" class="ttt2 qtype%1$s" sort="questions" title="%5$s"><span rel="in">%4$s</span></a>
	<a href="/voted/%13$s" rel="nofollow" class="ttt2 qtype%2$s" sort="voted" title="%7$s"><span rel="in">%6$s</span></a>
	<a href="/active/%13$s" rel="nofollow" class="ttt2 qtype%3$s" sort="active" title="%9$s"><span rel="in">%8$s</span></a>
	<a href="/difficult/%13$s" rel="nofollow" class="ttt2 qtype%12$s" sort="dif" title="%11$s"><span rel="in">%10$s</span></a>
	</div>';
	
}
